﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Freeopen
{
    public partial class Client : Form
    {
        public Client()
        {
            InitializeComponent();
        }

        private void 工具ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void formTreeView_Load(object sender, EventArgs e)
        {

        }

        private void 打开ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            formTV tv = new formTV();
            tv.MdiParent = this;
            tv.Show();
            tv.Controls.Add(tvModules);

        }


        private int tabNum = 0;
        private void 新建ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TabPage page = new TabPage("tababcddsf" + (tabNum++).ToString());
            tabControl1.TabPages.Add(page);
        }
    }
}
